Class Controller<TView>
Controllers are supposed to keep action definitions and they are used as a main component in a UserController. It uses a View attached.
Declaration
public abstract class Controller<TView> : Controller where TView : View
Inheritance: System.Object
-> MatchinghamGames.StockholmCore.Controller
Derived:
MatchinghamGames.StockholmCore.Controller<TView, TModel>
Properties
View
Declaration
protected TView View { get; }
Fields
view
Declaration
protected TView view
Methods
Initialize()
Initializes the controller
Declaration
protected override void Initialize()
ResetController()
Resets the view back to the initial condition
Declaration
public override void ResetController()
Open()
Opens the view
Declaration
public override void Open()
Close()
Closes the view
Declaration
public override void Close()